app.service("taskService", function ($http) {

    this.findPage = function (pageNum, pageSize, searchEntity) {
        return $http.post("../task/findPage?pageNum=" + pageNum + "&pageSize=" + pageSize, searchEntity);
    };

    this.addConfirmLetter = function (data) {
        return $http.post("../task/addConfirmLetter", data);
    };

});